﻿Imports System.Configuration

Public Class Configs
    Public Shared SiteID As String = ConfigurationManager.AppSettings("SiteID").ToString
    Public Shared WebName As String = ConfigurationManager.AppSettings("WebName").ToString
    Public Shared WebTitle As String = ConfigurationManager.AppSettings("WebTitle").ToString
    Public Shared WebDescription As String = ConfigurationManager.AppSettings("WebDescription").ToString
    Public Shared HomeUrl As String = ConfigurationManager.AppSettings("HomeUrl").ToString
    Public Shared UpUrl As String = ConfigurationManager.AppSettings("UpUrl").ToString
    Public Shared FolderUPImage As String = ConfigurationManager.AppSettings("FolderUPImage").ToString
    Public Shared ConnectionString As String = ConfigurationManager.AppSettings("ConnectionString").ToString
    Public Shared ConnectionStringUp As String = ConfigurationManager.AppSettings("ConnectionStringUp").ToString
    Public Shared FolderSaveData As String = ConfigurationManager.AppSettings("FolderSaveData").ToString()
    Public Shared ArticleFile As String = FolderSaveData & ConfigurationManager.AppSettings("ArticleFile").ToString()
    Public Shared PageFile As String = FolderSaveData & ConfigurationManager.AppSettings("PageFile").ToString()
    Public Shared RSSFile As String = FolderSaveData & ConfigurationManager.AppSettings("RSSFile").ToString()
    Public Shared AnalyticsFile As String = FolderSaveData & ConfigurationManager.AppSettings("AnalyticsFile").ToString()
    Public Shared CommentFile As String = FolderSaveData & ConfigurationManager.AppSettings("CommentFile").ToString()
    Public Shared UserFolder As String = ConfigurationManager.AppSettings("UserFolder").ToString()
    Public Shared UserVirtualFolder As String = ConfigurationManager.AppSettings("UserVirtualFolder").ToString()
    Public Shared TimeLine As Double = Double.Parse(ConfigurationManager.AppSettings("TimeLine").ToString)
    Public Shared WebSrvUserName As String = ConfigurationManager.AppSettings("WebSrvUserName").ToString()
    Public Shared WebSrvPassword As String = ConfigurationManager.AppSettings("WebSrvPassword").ToString()
    Public Shared IsCommentAlert As Boolean = Boolean.Parse(ConfigurationManager.AppSettings("IsCommentAlert").ToString())
    Public Shared SmtpHost As String = ConfigurationManager.AppSettings("SmtpHost").ToString()
    Public Shared SmtpUser As String = ConfigurationManager.AppSettings("SmtpUser").ToString()
    Public Shared SmtpPass As String = ConfigurationManager.AppSettings("SmtpPass").ToString()
    Public Shared Domain As String = ConfigurationManager.AppSettings("Domain").ToString()
    Public Shared WebMasterEmail As String = ConfigurationManager.AppSettings("WebMasterEmail").ToString()
    Public Shared WebReportEmail1 As String = ConfigurationManager.AppSettings("WebReportEmail1").ToString()
    Public Shared WebReportEmail2 As String = ConfigurationManager.AppSettings("WebReportEmail2").ToString()
    Public Shared IsCache As String = ConfigurationManager.AppSettings("IsCache").ToString()
End Class
